CXX = g++


INC = -I./inc -I$(ROOTSYS)/include -I/usr/include
SRC = ./src
OBJ = ./obj
OBJS = $(OBJ)/DataTransportConfig.o 

ROOTLIBS = `root-config --libs` -L$(ROOTSYS)/lib
#RUDELIBS = -L/usr/local/lib/ -lrudeconfig

LIBS = $(ROOTLIBS) #$(RUDELIBS)

all: $(OBJS) ./src/DataTransportMainGraph.cpp
	$(CXX) -ggdb $(INC) $^ $(LIBS) -o graph

$(OBJ)/%.o: $(SRC)/%.cc
	$(CXX) -ggdb $(INC) -c $< -o $@

	
